package flash.display;

extern class NativeWindow extends flash.events.EventDispatcher
{
	static var supportsTransparency(default, null):Bool;
	static var systemMinSize(default, null):flash.geom.Point;
	static var isSupported(default, null):Bool;
	static var supportsMenu(default, null):Bool;
	static var systemMaxSize(default, null):flash.geom.Point;
	static var supportsNotification(default, null):Bool;
	function minimize():Void;
	function maximize():Void;
	function restore():Void;
	function close():Void;
	function startMove():Bool;
	function startResize(edgeOrCorner:flash.display.NativeWindowResize = flash.display.NativeWindowResize.BOTTOM_RIGHT):Bool;
	function orderToFront():Bool;
	function orderToBack():Bool;
	function orderInFrontOf(window:flash.display.NativeWindow):Bool;
	function orderInBackOf(window:flash.display.NativeWindow):Bool;
	function activate():Void;
	function globalToScreen(globalPoint:flash.geom.Point):flash.geom.Point;
	function notifyUser(type:flash.desktop.NotificationType):Void;
	function listOwnedWindows():flash.Vector<flash.display.NativeWindow>;
	var resizable(default, null):Bool;
	var menu:flash.display.NativeMenu;
	var owner(default, null):flash.display.NativeWindow;
	var visible:Bool;
	var systemChrome(default, null):flash.display.NativeWindowSystemChrome;
	var bounds:flash.geom.Rectangle;
	var y:Float;
	var x:Float;
	var displayState(default, null):flash.display.NativeWindowDisplayState;
	var alwaysInFront:Bool;
	var renderMode(default, null):flash.display.NativeWindowRenderMode;
	var stage(default, null):flash.display.Stage;
	var active(default, null):Bool;
	var minSize:flash.geom.Point;
	var maxSize:flash.geom.Point;
	var height:Float;
	var type(default, null):flash.display.NativeWindowType;
	var title:String;
	var transparent(default, null):Bool;
	var width:Float;
	var minimizable(default, null):Bool;
	var maximizable(default, null):Bool;
	var closed(default, null):Bool;
	function new(initOptions:flash.display.NativeWindowInitOptions):Void;
}